package com.ruikong.dazhi.dao.basicinfo;

import com.ruikong.dazhi.entity.basicinfo.Device;
import com.ruikong.dazhi.entity.basicinfo.Device;
import com.ruikong.dazhi.entity.basicinfo.Stock;
import com.ruikong.dazhi.model.input.DevicePageInput;

import java.util.List;

/**
 * (Device)表数据库访问层
 *
 * @author HuaJiaYi
 * @since 2021-09-29 10:55:41
 */
public interface DeviceMapper {


    Device queryById(Integer id);

    List<Device> queryAll(Device device);

    int insert(Device device);

    int update(Device device);

    int deleteById(Integer id);

    int queryByTypeId(Integer deviceTypeId);

    List<Device> getDevicePageList(DevicePageInput input);

    Integer isExist(Device device);

    Integer getId();

    Integer isDeviceSnExist(String deviceSn);

}

